package com.cloud.tsp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.api.domain.tsp.*;
import com.cloud.api.constants.StrVo;
import com.cloud.mybatis.domain.TableDataInfo;
import org.springframework.web.multipart.MultipartFile;

import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haohaibo
 * @since 2023-11-27
 */
public interface IVehicleInformationService extends IService<VehicleInformation> {

    TableDataInfo<VehicleDto> selectVehicleList(QueryVehicle para);
    Long selectVehicleCount();
    List<Integer> selectVehicleCountMonth();

    List<StrVo> selectVinScope();

    public List<VehicleInformation> selectAllVehicleList();

    VehicleDetail selectVehicleDetail(String vehicleId);

    void insertOrUpdate(VehicleDto para);

    void downloadTemplate(HttpServletResponse response) throws IOException;

    void importVehicleList(String deptId,MultipartFile file) throws IOException ;

    void exportVehicleList(QueryVehicle para,HttpServletResponse response) throws IOException ;
}